{extend name="index_layout"/}
{block name="main"}
<form class="layui-form" id="c" method="post">
    <input type="hidden" name="id" value="{$data.id}">
    <input type="hidden" name="member_id" value="{$data.member_id}">
    <input type="hidden" name="status" value="{$data.status}">
    <input type="hidden" name="data_assess_file" value="{$data.assess_file}">
    <div class="layui-form-item">
        <label class="layui-form-label">单位名称</label>
        <div class="layui-input-block">
            <input type="text" name="name" value="{$data.name}"  autocomplete="off"
                   placeholder="单位名称"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">联系人</label>
        <div class="layui-input-block">
            <input type="text" name="people" value="{$data.people}"  autocomplete="off"
                   placeholder="联系人"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">联系方式</label>
        <div class="layui-input-block">
            <input type="text" name="link_type" value="{$data.link_type}"  autocomplete="off"
                   placeholder="联系方式"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">传真</label>
        <div class="layui-input-block">
            <input type="text" name="cz" value="{$data.cz}"  autocomplete="off"
                   placeholder="传真"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">电子邮件</label>
        <div class="layui-input-block">
            <input type="text" name="e_mail" value="{$data.e_mail}"  autocomplete="off"
                   placeholder="电子邮件"
                   class="layui-input">
        </div>
    </div>

    <h2 style="margin: 40px 0px 20px 60px;">车辆信息</h2>

    <div class="layui-form-item">
        <label class="layui-form-label">品牌型号</label>
        <div class="layui-input-block">
            <input type="text" name="brand_id" value="{$data.brand_id}"  autocomplete="off"
                   placeholder="品牌型号"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">车辆识别码</label>
        <div class="layui-input-block">
            <input type="text" name="car_no" value="{$data.car_no}"  autocomplete="off"
                   placeholder="车辆识别码"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">初次登记日期</label>
        <div class="layui-input-block">
            <input type="text" name="init_data" value="{$data.init_data}"  autocomplete="off"
                   placeholder="初次登记日期"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">期待价格</label>
        <div class="layui-input-block">

            <input type="radio" name="qw_type" value="1" {if $data.qw_type==1}checked{/if} title="市场价">

            <input type="radio" name="qw_type" value="2" {if $data.qw_type==2}checked{/if} title="4s店价">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">是否加急</label>
        <div class="layui-input-block">

            <input type="radio" name="is_j" value="1" {if $data.is_j==1}checked{/if} title="普通">

            <input type="radio" name="is_j" value="2" {if $data.is_j==2}checked{/if} title="加急">
        </div>
    </div>



    <div class="layui-form-item">
        <label class="layui-form-label">备注</label>
        <div class="layui-input-block">
            <textarea name="remark" placeholder="备注" class="layui-textarea">{$data.remark}</textarea>
        </div>
    </div>





    <div class="layui-form-item">
        <label class="layui-form-label">其他材料</label>
        {volist name="query_order_file" id="vo"}
        <div><a href="{$vo.url}" target="_blank" >{$vo.file_name}</a></div>
        {/volist}
    </div>



    <div class="layui-form-item">
        <label class="layui-form-label">评估概述</label>
        <div class="layui-input-block">
            <input type="text" name="query_order_desc" value="{$data.query_order_desc}"  autocomplete="off"
                   placeholder="评估概述"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">评估文件</label>
        <div class="layui-input-block">
            {:Form::upload("assess_file",$data['assess_file'],["lay-verify"=>"required"])}
        </div>
    </div>

    <div class="layui-form-item layer-footer">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit="">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
{/block}
{block name="script"}
<script type="text/javascript">
    layui.use(['yznForm', 'form'], function () {
        var yznForm = layui.yznForm;
        var form = layui.form;
        yznForm.bindevent($("form.layui-form"));
    });

</script>
{/block}